package com.itliang.service.hardware.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.itliang.core.model.dto.equipment.EquipmentQueryRequest;
import com.itliang.core.model.entity.equipment.Equipment;
import com.itliang.core.model.vo.equipment.EquipmentVO;
import com.itliang.mapper.hardware.EquipmentMapper;
import com.itliang.service.hardware.EquipmentService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author liangzhuoyuan
 * @description 针对表【equipment(硬件设备表)】的数据库操作Service实现
 */
@Service
public class EquipmentServiceImpl extends ServiceImpl<EquipmentMapper, Equipment>
        implements EquipmentService {

    @Resource
    private EquipmentMapper equipmentMapper;


    @Override
    public Page<EquipmentVO> listEquipmentByPage(Page<EquipmentVO> page, EquipmentQueryRequest equipmentQueryRequest) {
        return equipmentMapper.listEquipmentByPage(page, equipmentQueryRequest);
    }

}




